package com.xbh.management.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xbh.common.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-09-25 17:02
 */
@Data
public class ManUserRole extends BaseEntity {

//    @TableId(type = IdType.ASSIGN_ID)
//    @Column(name = "user_role_id")
//    private Long userRoleId;

    @Column(name = "role_id")
    private Long roleId;

    @Column(name = "user_id")
    private Long userId;
}
